package com.spb.dubbo.cn.domain;/**
 * @Author: GaoXiaoPeng
 * @Description:
 * @Date: Created in 下午3:55 2018/4/14
 */

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 *@ClassName MLove
 *@Description TODO
 *@Author youli
 *@Date 2018/4/14 下午3:55
 **/
@JsonIgnoreProperties("length")
public class MLove {
    private String name;
    private int pNum;
    private String address;
    private int age;

    @Override
    public String toString() {
        return "MLove{" + "name='" + name + '\'' + ", pNum=" + pNum + ", address='" + address + '\'' + ", age=" + age + ", length=" + length + ", wants='" + wants + '\'' + '}';
    }

    @JsonIgnore
    private int length;
    private String wants;

    public String getWants() {
        return wants;
    }

    public void setWants(String wants) {
        this.wants = wants;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getpNum() {
        return pNum;
    }

    public void setpNum(int pNum) {
        this.pNum = pNum;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }
}
